package com.gx.mxbbx.service;

import com.github.pagehelper.PageInfo;
import com.gx.mxbbx.po.Area;

import java.util.List;

public interface AreaService {
    PageInfo<Area> getAllArea(String areaName, Integer currentPage, Integer limit);

    List<Area> getAreaTree(String areaName);

    void areaadd(Area area);

    Area getareaById(Integer id);

    void areaedit(Area area);

    void areadelete(Integer id);
}
